package com.ck.system.mapper;

import com.ck.common.entity.SysRoleMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author changk
 * @date 2024/11/29 14:57
 */
@Mapper
public interface SysRoleMenuMapper {
    int batchRoleMenu(List<SysRoleMenu> list);

    int deleteRoleMenuByRoleId(Long roleId);

    int deleteRoleMenu(Long[] roleIds);

    int checkMenuExistRole(Long menuId);
}
